﻿using PCSharp.Practice;

namespace PCSharp
{
    class Program
    {

        public static void Main(string[] args)
        {
            // Find word in string
            string word = "application";
            string s = "Create application an that searches a word into a string Application";

            Exam3.search(word, s);

            // Demonstrate polymorphism
            Exam3.Chair chair = new Exam3.Chair();
            Exam3.Chair wheelChair = new Exam3.WheelChair();

            chair.seat();
            wheelChair.seat();
        }
    }
}
